<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			console.log("aaa");
			window.onload=function(){
				console.log("页面加载完成了");
				div01.textContent="呵呵";
			}
			console.log("bbb");
			window.onresize=function(){
				console.log("窗体大小改变");
			}
		</script>
		<div id="div01"></div>
		
	</body>
</html>
